// index.js
Component({
    options: {
        multipleSlots: true,
        addGlobalClass: true,
    },
    /**
     * 组件的属性列表
     */
    properties: {
        title: {
            type: String,
            value: ''
        },
        back: {
            type: Boolean,
            value: false
        },
        home: {
            type: Boolean,
            value: false
        },
        border: {
            type: Boolean,
            value: false
        },
        left: {
            type: Boolean,
            value: false
        },
        reloading: {
            type: Boolean,
            value: false
        }
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        back() {
            wx.navigateBack();
        },
        home() {

        }
    }
})